import Buyer from './buyer.vue'
import buyerAdd from './buyerAdd.vue'
import buyerSearch from './buyerSearch.vue'
import buyerView from './buyerView.vue'

const components = [
    Buyer,
    buyerAdd,
    buyerSearch,
    buyerView
];

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
};
export default main
